package cn.ffcs.unm.testClient.manager.impl;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import cn.ffcs.unm.testClient.dao.IdCardInformationDao;
import cn.ffcs.unm.testClient.manager.IdCardInfoManager;

@Service("idCardInfoManager")
@Scope("prototype")
public class IdCardManagerImpl implements IdCardInfoManager {

	@Resource
	private IdCardInformationDao idCardInformationDao;

	@Override
	public IdCardInformationDao getCertIdVarInfo(String identity, String name) {
		return idCardInformationDao.getCertIdVarInfo(identity, name);
	}

	@Override
	public boolean SaveIdCardInformation(String identity, String name) {
		return idCardInformationDao.SaveIdCardInformation(identity, name);
	}

}
